package com.imy.common.view.recyclerview;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.recyclerview.widget.RecyclerView;

/**
 * 功能描述：
 *
 * @author 黄一凡
 * @date 2018/8/13 0013
 */

public class MoreViewHolder extends RecyclerView.ViewHolder {
  public MoreViewHolder(Context context, View itemView) {
    super(itemView);
  }

  public static MoreViewHolder createViewHolder(Context context, View itemView) {
    MoreViewHolder holder = new MoreViewHolder(context, itemView);
    return holder;
  }

  public static MoreViewHolder createViewHolder(Context context,
      ViewGroup parent, int layoutId) {
    View itemView = LayoutInflater.from(context).inflate(layoutId, parent,
        false);
    MoreViewHolder holder = new MoreViewHolder(context, itemView);
    return holder;
  }
}
